package com.dongdongshop.service.impl.areas;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.TbAreasMapper;
import com.dongdongshop.pojo.areas.TbAreas;
import com.dongdongshop.service.areas.AreasService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
@org.springframework.stereotype.Service
public class AreasServiceImpl implements AreasService {
    @Autowired
    private TbAreasMapper tbAreasMapper;

    @Override
    public List<TbAreas> listAreasByCityid(String cityid) {
        return tbAreasMapper.listAreasByCityid(cityid);
    }
}
